const mysql=require("mysql");

module.exports = mysql.createConnection({
    host: "localhost",
    port:3306,
    user:'root',
    password:"12345",
    database:'charge',
    timezone: "08:00",
    multipleStatements: true
})
    /* conn.connect((err)=>{
        if(err) throw err;
        console.log("数据库连接成功");
    }) */
    